package 设计模式.行为型模式.备忘录模式;

/**
 * @author MT
 * @date 2019-11-13 18:54
 */
public class Caretaker {
    private Memento memento;

    public void setMemento(Memento m) {
        memento = m;
    }

    public Memento getMemento() {
        return memento;
    }
}
